#include <stdio.h>
double Ball_volume(double n){
	return 4.0/3.0*3.1415926*n*n*n;
}
int main(){
    double r = 0;
    scanf("%lf",&r);
    printf("%.3lf",Ball_volume(r)); 
    return 0;
}
